<?php
/**
 * Created by PhpStorm.
 * User: CCJK
 * Date: 2018/4/17
 * Time: 14:48
 */

namespace AppBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

class AppExtension extends Extension
{

    /**
     * Loads a specific configuration.
     *
     * @throws \InvalidArgumentException When provided tag is not defined in this extension
     */
    public function load(array $configs, ContainerBuilder $container)
    {
//        foreach ($configs as $i) {
//            echo $i;
//        }

        var_dump($configs);
    }
}
